<?php
/**
 * Created by IntelliJ IDEA.
 * User: lee
 * Date: 2018/1/12
 * Time: 下午2:35
 */

namespace Biz\service;

use Doraemon\model\Tag as mTag;
/**
 * @deprecated
 */
class Tag
{
    public static function mgtSuggestStyle($keyword)
    {
        $list = mTag::getListByTagAndPid($keyword, mTag::PARENT_TYPE_FOR_STYLE);

        $list = array_values($list);

        return $list;
    }

    public static function mgtSuggestMaterial($keyword)
    {
        $list = mTag::getListByTagAndTypes($keyword, mTag::TAG_TYPE_MATERIAL);
        $list = array_values($list);

        return $list;
    }
}